<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<#include "/common/resources.ftl"/>
<script type="text/javascript">
	function m_submit(){
		window.saveOrEditForm.submit();
	}
	
	function m_back(){
		window.location.href = 'manage';
	}
	<#if errorMsg?exists >alert('${errorMsg}');</#if>
</script>
</head>
<body>
  <form action="${ctx}/qfbao/loanorder/save_edit" method="post" class="loan_list_form" name="saveOrEditForm">
  <input type="hidden" name="id" value="<#if model?exists >${model.id}</#if>" />
  <div class="fm_sty" style="margin: 20px 0px 0px;">
       <div class="detail_slip" style="position:relative;margin-bottom:20px">
       		<span style="position:absolute;top:-12px;left:17px;background:#fff;padding:0 8px;font-size: 16px;font-weight:bold;">
				【客户信息】
			</span>
       	</div>
       	<div class="ipt_line">
				<span class="ipt_title">姓名</span>
				<#if model?exists >${model.applicant}</#if>
		</div>
		<div class="ipt_line">
				<span class="ipt_title">手机</span>
				<#if model?exists >${model.phone}</#if>
		</div>
		<div class="ipt_line">
				<span class="ipt_title">身份证号码</span>
				<#if model?exists >${model.idCard}</#if>
		</div>
		<div class="detail_slip" style="position:relative;margin-bottom:20px">
       		<span style="position:absolute;top:-12px;left:17px;background:#fff;padding:0 8px;font-size: 16px;font-weight:bold;">
				【客户报备】
			</span>
       	</div>
       	<div class="ipt_line">
				<span class="ipt_title">产品名称</span>
				<#if model?exists >${model.productCN}</#if>
		</div>
		
		<div class="ipt_line">
				<span class="ipt_title">项目经理</span>
				<#if model?exists >${model.product.projectManager}</#if>
		</div>

	    <div class="ipt_line">
				<span class="ipt_title">贷款金额</span>
				<#if model?exists >${model.applyAmount}</#if>
		</div>

       	<div class="ipt_line">
			<span class="ipt_title">期限</span>
			<#if model?exists >${model.term}
			<#if model.termUnit=='0'>
				 天
				<#elseif model.termUnit=='1'>
				个月
				<#elseif model.termUnit=='2'>
				年
				</#if>
			</#if>
		</div>
		
       	<div class="ipt_line">
			<span class="ipt_title">产权人年龄</span>
			<#if model?exists >${model.loanAssess.propertyRightAge}</#if>
		</div>
		
	   <div class="ipt_line">
			<span class="ipt_title">身份证</span>
			<#if model?exists >${model.idCard}</#if>
		</div>
		
       	<div class="ipt_line">
			<span class="ipt_title">职业身份</span>
			<#if model?exists >${model.professionalIdentityCN}</#if>
		</div>

	    <div class="ipt_line">
				<span class="ipt_title">户口个数</span>
				<#if model?exists >${model.loanAssess.accountNumber}</#if>
		</div>
		
		 <div class="ipt_line">
				<span class="ipt_title">备用房</span>
				<#if model?exists >
				 <#if model.loanAssess.spareRoom=="0" >
				    无
				 <#elseif model.loanAssess.spareRoom=="1">
				    有
				 </#if>
				</#if>
		</div>
		
		<div class="ipt_line">
				<span class="ipt_title">安歇贷款</span>
				<#if model?exists >
				 <#if model.loanAssess.restLoan=="0" >
				    无
				 <#elseif model.loanAssess.restLoan=="1">
				    有
				 </#if>
				</#if>
		</div>
		<div class="ipt_line">
				<span class="ipt_title">贷款估值</span>
				<#if model?exists >${model.loanAssess.loanValuation}</#if>
		</div>
		
		<div class="ipt_line">
				<span class="ipt_title">已安歇贷款金额</span>
				<#if model?exists >${model.loanAssess.alreadyLoanValuation}</#if>
		</div>
		
		<div class="ipt_line">
				<span class="ipt_title">选择城市</span>
				<#if model?exists >${model.loanAssess.cityName}</#if>
		</div>
		
		<div class="ipt_line">
				<span class="ipt_title">小区名称</span>
				<#if model?exists >${model.loanAssess.communityName}</#if>
		</div>
		
		<div class="ipt_line">
				<span class="ipt_title">房屋所在环线</span>
				<#if model?exists >${model.loanAssess.loopName}</#if>
		</div>
		
		<div class="ipt_line">
				<span class="ipt_title">物业类型</span>
				<#if model?exists >${model.loanAssess.propertyTypeName}</#if>
		</div>
		
		<div class="ipt_line">
				<span class="ipt_title">建筑面积</span>
				<#if model?exists >${model.loanAssess.constructionArea}</#if>
		</div>
		
		<div class="ipt_line">
				<span class="ipt_title">房屋估值</span>
				<#if model?exists >${model.loanAssess.assessmentValue}</#if>
		</div>
		
		<div class="ipt_line">
				<span class="ipt_title">项目经理联系方式 </span>
				<#if model?exists >${model.product.contactInformation}</#if>
		</div>
		
		<div class="ipt_line">
				<span class="ipt_title">备注 </span>
				<#if model?exists >${model.remark}</#if>
		</div>
		  
		<div class="detail_slip" style="position:relative;margin-bottom:20px">
       		<span style="position:absolute;top:-12px;left:17px;background:#fff;padding:0 8px;font-size: 16px;font-weight:bold;">
				【报备确认】
			</span>
       	</div> 
       	
       	<div class="ipt_line">
				<span class="ipt_title">审核时间 </span>
				<#if model?exists >${model.formatCheckDate}</#if>
		</div>
       	
       	<div class="ipt_line">
				<span class="ipt_title">贷款产品 </span>
				<#if model?exists >${model.productCN}</#if>
		</div>  
		  
        <div class="ipt_line">
				<span class="ipt_title">审核状态 </span>
				<#if model?exists >${model.checkStatusCN}</#if>
		</div>   
		
		<div class="ipt_line">
				<span class="ipt_title">批注 </span>
				<#if model?exists >${model.checkRemark}</#if>
		</div> 
		
	   <div class="detail_slip" style="position:relative;margin-bottom:20px">
       		<span style="position:absolute;top:-12px;left:17px;background:#fff;padding:0 8px;font-size: 16px;font-weight:bold;">
				【签约确认】
			</span>
       	</div> 
       	
       	<div class="ipt_line">
				<span class="ipt_title">签约状态 </span>
				<#if model?exists >
                    <#if model.signStatus=="1"> 
                                                        未签约
                    <#elseif model.signStatus=="2">
                                                        已签约
                    </#if>
                </#if>
		</div> 
		
		<div class="ipt_line">
				<span class="ipt_title">签约时间 </span>
				<#if model?exists >
                    ${model.formatSignDate}
                </#if>
		</div> 
		
		<div class="ipt_line">
				<span class="ipt_title">签约金额 </span>
				<#if model?exists >
                    ${model.applyAmount}
                </#if>
		</div>
		
		<div class="ipt_line">
			<span class="ipt_title">利率</span>
			<#if model?exists >${model.rate}
			<#if model.rateUnit=='0'>
				 %/天
				<#elseif model.rateUnit=='1'>
				%/月
				<#elseif model.rateUnit=='2'>
				%/年
				</#if>
			</#if>
		</div>
		
       	<div class="ipt_line">
			<span class="ipt_title">期限</span>
			<#if model?exists >${model.term}
			<#if model.termUnit=='0'>
				 天
				<#elseif model.termUnit=='1'>
				个月
				<#elseif model.termUnit=='2'>
				年
				</#if>
			</#if>
		</div>
		
		<div class="detail_slip" style="position:relative;margin-bottom:20px">
       		<span style="position:absolute;top:-12px;left:17px;background:#fff;padding:0 8px;font-size: 16px;font-weight:bold;">
				【放款确认】
			</span>
       	</div> 
       	
       	<div class="ipt_line">
				<span class="ipt_title">打款时间 </span>
				<#if model?exists >
                    ${model.formatLoanDate}
                </#if>
		</div>  
		
		<div class="ipt_line">
				<span class="ipt_title">收款人 </span>
				<#if model?exists >
                    ${model.payee}
                </#if>
		</div> 
		
		<div class="ipt_line">
				<span class="ipt_title">卡号 </span>
				<#if model?exists >
                    ${model.cardNumber}
                </#if>
		</div>   
		
		<div class="ipt_line">
				<span class="ipt_title">批注 </span>
				<#if model?exists >
                    ${model.loanRemark}
                </#if>
		</div>

       	<#list orderFollowUpList as orderFollowUp>
       	     		
		    <div class="detail_slip" style="position:relative;margin-bottom:20px">
       		 <span style="position:absolute;top:-12px;left:17px;background:#fff;padding:0 8px;font-size: 16px;font-weight:bold;">
				【写跟进】
			 </span>
       	    </div>
       	     <div class="ipt_line">
				<span class="ipt_title">跟进时间: </span>
				${orderFollowUp.formatCreateTime}
                
                
		     </div>
		     <div class="ipt_line">
				 <span class="ipt_title" >跟进人:  </span>
				  ${orderFollowUp.followUserName}
			</div>
		
			<div class="ipt_line">
					<span class="ipt_title">跟进内容:  </span>
					${orderFollowUp.remark}
			</div>
       	</#list>
       	
		          
                    
                    
      <div class="ipt_line_long">
            <button class="red_100" onclick="javascript:m_back();return false;" style="background-color:#74D86A">返回</button>
      </div>
	</div>
	</form>
</body>
</html>
